﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CreateEditMusic.aspx.cs"
    Inherits="Web.Cms.MusicManager.CreateEditMusic" Theme="Default" %>

<%@ Register TagPrefix="cc1" Namespace="AWS.FilePicker" Assembly="FilePickerControl" %>
<%@ Register Assembly="CuteEditor" Namespace="CuteEditor" TagPrefix="CE" %>
<%@ Register Assembly="RadCalendar.Net2" Namespace="Telerik.WebControls" TagPrefix="radCln" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Untitled Page</title>
    <link href="/App_Themes/Default/Style.css" rel="stylesheet" type="text/css" />
    <link href="/Styles/jquery.autocomplete.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript" src="/Scripts/jquery-1.4.1.js"></script>
    <script type="text/javascript" language="javascript" src="/Scripts/common.js"></script>
    <script type="text/javascript" src="/Scripts/jquery.autocomplete.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div style="margin-left: 5px; padding-top: 5px;">
        <div class="clear2px">
        </div>
        <div class="rows1">
            <div class="fl" style="padding-right: 20px;">
                <asp:Label ID="Label1" runat="server" Font-Bold="true" Font-Size="12px" Text="QUẢN LÝ THÔNG TIN CÁC BÀI HÁT"></asp:Label>
            </div>
            <div class="fl">
                <asp:Label ID="lblUpdateStatus" runat="server" Font-Bold="true" ForeColor="red" Font-Size="11px"></asp:Label>
            </div>
            <div class="clear2px">
            </div>
            <div class="fl" style="padding-top: 2px; padding-right: 3px; width: 110px;">
                <b>Tên bài hát</b></div>
            <div class="fl" style="width: 280px; padding-right: 20px;">
                <asp:TextBox runat="server" ID="txtMucsicName" Height="17" Width="280"></asp:TextBox>
                <asp:RequiredFieldValidator Font-Bold="true" ForeColor="red" Font-Size="11px" ID="rpMucsicName"
                    runat="server" ErrorMessage="Bạn chưa nhập tên bài hát" ControlToValidate="txtMucsicName"></asp:RequiredFieldValidator>
            </div>
            <div class="fl" style="padding-top: 2px; padding-right: 3px; padding-left: 20px;">
                <b>Giá</b></div>
            <div class="fl" style="width: 60px; padding-right: 20px;">
                <asp:TextBox runat="server" ID="txtPrice" Height="17" Width="50" Text="0" onkeyup="this.value = FormatNumber(this.value);"></asp:TextBox>
                <asp:RequiredFieldValidator Font-Bold="true" Width="100" ForeColor="red" Font-Size="11px"
                    ID="RequiredFieldValidator1" runat="server" ErrorMessage="*" ControlToValidate="txtPrice"></asp:RequiredFieldValidator>
            </div>
            <div class="fl" style="padding-top: 2px; padding-right: 3px;">
                <b>Mã code</b></div>
            <div class="fl">
                <asp:TextBox runat="server" ID="txtCodeId" Height="17" Text="0" Width="70"></asp:TextBox>
            </div>
        </div>
        <div class="clear2px">
        </div>
        <div class="rows2">
            <div class="fl" style="padding-top: 2px; padding-right: 3px; width: 110px;">
                <b>Từ khóa tìm kiếm</b></div>
            <div class="fl" style="width: 280px; padding-right: 20px;">
                <asp:TextBox runat="server" ID="txtKeyword" Height="17" Width="280"></asp:TextBox>
            </div>
            <div class="fl" style="padding-top: 2px; padding-right: 3px;">
                <b>Ngày tạo</b></div>
            <div class="fl" style="padding-right: 0px;">
                <radCln:RadDateTimePicker ID="txtCreateOn" runat="server">
                </radCln:RadDateTimePicker>
            </div>
        </div>
        <div class="clear2px">
        </div>
        <div class="rows3">
            <div class="fl" style="padding-top: 2px; padding-right: 3px; width: 110px;">
                <b>Ca sỹ thể hiện</b></div>
            <div class="fl" style="width: 280px; padding-right: 20px;">
                <asp:DropDownList runat="server" ID="dropSingerId" Width="280">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="dropSingerId"
                    ErrorMessage="Bạn chưa lựa chọn ca sỹ" InitialValue="0" ForeColor="red">Bạn chưa lựa chọn ca sỹ</asp:RequiredFieldValidator>
            </div>
            <div class="fl" style="padding-top: 2px; padding-right: 3px;">
                <b>Tác giả</b></div>
            <div class="fl" style="width: 200px; padding-right: 20px;">
                <asp:DropDownList runat="server" ID="dropMusicianId" Width="200px">
                </asp:DropDownList>
            </div>
        </div>
        <div class="clear2px">
        </div>
        <div class="rows3">
            <div class="fl" style="padding-top: 2px; padding-right: 3px; width: 110px;">
                <b>Thuộc chuyên mục</b></div>
            <div class="fl" style="width: 200px; padding-right: 20px;">
                <asp:DropDownList runat="server" ID="dropZoneId" Width="200px">
                </asp:DropDownList>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="dropZoneId"
                    ErrorMessage="Bạn chưa lựa chọn chuyên mục" InitialValue="0" ForeColor="red">Bạn chưa lựa chọn chuyên mục</asp:RequiredFieldValidator>
            </div>
            <div class="fl" style="padding-top: 2px; padding-right: 3px; padding-left: 60px;">
                <b>ShortCode</b></div>
            <div class="fl" style="width: 200px; padding-right: 20px;">
                <asp:DropDownList runat="server" ID="dropShortCode" Width="200">
                    <asp:ListItem Value="8023"></asp:ListItem>
                    <asp:ListItem Value="8123"></asp:ListItem>
                    <asp:ListItem Value="8223"></asp:ListItem>
                    <asp:ListItem Value="8323" Selected="True"></asp:ListItem>
                    <asp:ListItem Value="8423"></asp:ListItem>
                    <asp:ListItem Value="8523"></asp:ListItem>
                    <asp:ListItem Value="8623"></asp:ListItem>
                    <asp:ListItem Value="8723"></asp:ListItem>
                </asp:DropDownList>
            </div>
        </div>
        <div class="clear2px">
        </div>
        <div class="rows4">
            <div class="fl" style="padding-top: 2px; padding-right: 3px; width: 110px;">
                <b>Ảnh</b></div>
            <div class="fl" style="width: 250px; padding-right: 20px;">
                <cc1:FilePicker ID="txtImage" runat="server" fpPopupURL="/FilePicker/FilePicker.aspx"
                    Width="200px" Height="17" fpAllowedUploadFileExts="doc,jpg,gif,png,jpeg,rar,zip,ppt,pptx,xls,xlsx"
                    CssClass="input"></cc1:FilePicker>
            </div>
            <div class="fl" style="padding-top: 2px; padding-right: 3px; padding-left: 20px;">
                <b>File nhạc</b></div>
            <div class="fl" style="width: 250px; padding-right: 20px;">
                <cc1:FilePicker ID="txtFileMusic" runat="server" fpPopupURL="/FilePicker/FilePicker.aspx"
                    Width="200px" Height="17" fpAllowedUploadFileExts="mp3,mp4,mid,avi,wav" CssClass="input"
                    fpUploadSizeLimit="1100000000"></cc1:FilePicker>
            </div>
        </div>
        <div class="clear2px">
        </div>
        <div class="clear2px">
        </div>
        <div class="rows5">
            <div class="fl" style="padding-top: 2px; padding-right: 3px; width: 110px;">
                <b>Một số lựa chọn</b></div>
            <div class="fl" style="padding-right: 20px;">
                <asp:CheckBox ID="chboxNhacHot" runat="server" Text="Nhạc hot nhất" Font-Italic="true" />
                <asp:CheckBox ID="chboxNhacMoiNhat" runat="server" Text="Nhạc mới nhất,hiển thị trang chủ"
                    Font-Italic="true" />
            </div>
            <div class="fl" style="padding-left: 15px; padding-top: 2px; padding-right: 3px;">
                <b>Album</b></div>
            <div class="fl">
                <asp:DropDownList runat="server" ID="dropGroupMusicId" Width="200">
                </asp:DropDownList>
            </div>
        </div>
        <div class="clear2px">
        </div>
        <div class="clear2px">
        </div>
        <div class="rows6">
            <div class="fl" style="padding-top: 2px; padding-right: 3px; width: 110px;">
                <b>Lựa chọn mạng</b></div>
            <div class="fl" style="padding-right: 20px;">
                <asp:CheckBox ID="chboxViettel" runat="server" Text="Viettel" />
                <asp:CheckBox ID="chboxVinaphone" runat="server" Text="Vinaphone" />
                <asp:CheckBox ID="chboxMobifone" runat="server" Text="Mobifone" />
                <asp:CheckBox ID="chboxVietnamobile" runat="server" Text="Vietnamobile" />
                <asp:CheckBox ID="chboxEVNtelecom" runat="server" Text="EVNtelecom" />
                <asp:CheckBox ID="chboxSfone" runat="server" Text="Sfone" />
                <asp:CheckBox ID="chboxBeeline" runat="server" Text="Beeline" />
            </div>
        </div>
        <div class="clear2px">
        </div>
        <div class="clear2px">
        </div>
        <div class="clear2px">
        </div>
        <div class="rows7">
            <div class="fl" style="padding-top: 2px; padding-right: 3px; width: 110px;">
                <b>Lời bài hát</b></div>
            <div class="fl" style="padding-right: 20px;">
                <CE:Editor AutoConfigure="Minimal" ID="txtDescription" runat="server">
                </CE:Editor>
            </div>
        </div>
        <div class="clear2px">
        </div>
        <div class="rows7">
            <div class="fl" style="padding-top: 2px; padding-right: 3px; width: 110px;">
            </div>
            <div class="fl" style="padding-right: 20px;">
                <asp:LinkButton ID="btnAdd" runat="server" SkinID="admin-ButtonInsert" OnClick="btnAdd_Click" />
                <asp:LinkButton ID="btnUpdate" runat="server" SkinID="admin-ButtonUpdate" OnClick="btnUpdate_Click" />
            </div>
        </div>
        <div class="clear2px">
        </div>
    </div>
    <script type="text/javascript">
        $(document).ready(function () {
            $("#<%=txtMucsicName.ClientID%>").autocomplete('/Layout/AutoComplateSearch/TimTheoTenBaiHat.ashx');
        });       
    </script>
    </form>
</body>
</html>
